<template>
	<view class="container" :style="{backgroundImage:'url('+ml_start_bg+')'}"
		style="background-size: cover;background-position: center top;">
		<navigationBar :myProperty="propertyInfo"></navigationBar>
		<image :src="ml_start_test" mode="" class="ml-start-test" @click="goTest"></image>
		<image :src="ml_start_text" mode="" class="ml-start-text"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				ml_start_bg: this.$imgWxkjUrl + '/product/ml_start_bg_v2_new.png',
				ml_start_test: this.$imgWxkjUrl + '/product/ml_start_test_new.png',
				ml_start_text: this.$imgWxkjUrl + '/product/ml_start_text.png',
				propertyInfo: {
					"bg_color": "transparent",
					"color": "#333",
					"flag": 1,
					"name": "",
					"hasEntity": false,
				},
				sclId: '',
				shareData: {
					title: '定制我的脉轮水晶',
					path: '/pages/index/index?userType=mailun',
					imageUrl: this.$imgWxkjUrl + '/product/mailun_share_new_new.png'
				}
			}
		},
		onLoad(options) {
			this.sclId = options.sclId
		},
		methods: {
			goTest() {
				let paramObj = {
					"sclId": this.sclId,
					"isFullPage": false,
					"jumpType": 'mailun'
				}
				uni.navigateTo({
					url: '/subcontractorD/pages/sclDoQuestion/sclDoQuestion?paramObj=' + JSON.stringify(paramObj)
				})
			}
		}
	}
</script>

<style>
	.ml-start-text {
		width: 700rpx;
		height: 700rpx;
		display: block;
		position: fixed;
		top: 357rpx;
		left: 50%;
		transform: translateX(-50%);
	}

	.ml-start-test {
		width: 490rpx;
		height: 144rpx;
		position: fixed;
		left: 50%;
		transform: translateX(-50%);
		bottom: 123rpx;
	}
</style>